<div ng-include="'html/component/nav.html'" ng-controller="NavCtrl"></div>
<div class="report_query">
	<div ng-include="'html/component/report.html'" ng-controller="ReportIndexCtrl">
	</div>
		<div class="report_main lsfx_cont">
		<div class="lsfx_top">
			<span class="tap_list">
                <span class="{{shopcode_cur=='1'?'tap_btn curr':'tap_btn'}}" ng-model = 'shopcode_cur' ng-click='cur_code();'>
                    <!--商品代码-->{{language.TIPS_REPORT_GOODS_CODE}}
                </span>
                <span class="{{shoptype_cur=='1'?'tap_btn curr':'tap_btn'}}" ng-model="shoptype_cur" ng-click="cur_type();" >
                    <!--类别汇总-->{{language.TIPS_REPORT_CUR_TYPE}}
                </span>
            </span>
			<p class="search_wrap">
				<input ng-show="shopcode_cur==1" type="text" ng-class='switch_01' ng-model = 'code_cur' placeholder="{{language.TIPS_REPORT_GOODS_CODE}}"/>
				<select ng-class='switch_03' ng-show="shoptype_cur==1" ng-options="c for c in filter.category | language_filter_show:'category_name'" ng-model='cate_date' >
					<option value=""><!--大类-->{{language.TIPS_REPORT_CATEGORY}}</option>
				</select>
				<select  ng-class='switch_02' ng-show="shoptype_cur==1" ng-options="s for s in filter.sort | language_filter_show:'sort_name'" ng-model='sort_date'>
					<option value=""><!--小类-->{{language.TIPS_REPORT_SORT}}</option>
				</select>
				<input type="date" ng-model="start_time"/>
				<span>-</span>
				<input type="date" ng-model="end_time"/>
				<span class="btn" ng-click ='btn_search();'>{{language.ACT_INQUIRE}}</span>
			</p>				
		</div>
		<!--added by maowei on 20170414 增加商品sku和名称-->
		<div class="goods_info">
			<div>
			sku:{{goodsInfo.sku}}&nbsp;&nbsp;
			名称:{{goodsInfo.goods_name}}
			</div>
		</div>
		<div class="report_form">
				<ul class="tap_list">
					<li class="{{num_cur=='1'?'curr':''}}" ng-click = 'tab_num_list();' ng-model="num_cur">
						<!--按销量-->{{language.TIPS_REPORT_CUR_NUM}}
					</li>
					<li class="{{money_cur=='1'?'curr':''}}"  ng-click = 'tab_money_list();' ng-model="money_cur" >
						<!--按金额-->{{language.TIPS_REPORT_CUR_MONEY}}
					</li>
				</ul>
				<div id="ls_charts" style="height: 400px; width: 800px; margin:0 auto; padding-top: 10px;"></div>
		</div>

	</div>
</div>
<style>
	.goods_info{
		padding-top:8px;
	}
	.goods_info div{
		margin-bottom: 5px;
	}
</style>

